package com.aiyige.base.eventbus;

public class EventAddFollow {
    String beFollowedId;
    String followId;
    boolean mutualFollow;

    public EventAddFollow() {
    }

    private EventAddFollow(Builder builder) {
        setBeFollowedId(builder.beFollowedId);
        setFollowId(builder.followId);
        setMutualFollow(builder.mutualFollow);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getBeFollowedId() {
        return beFollowedId;
    }

    public void setBeFollowedId(String beFollowedId) {
        this.beFollowedId = beFollowedId;
    }

    public String getFollowId() {
        return followId;
    }

    public void setFollowId(String followId) {
        this.followId = followId;
    }

    public boolean isMutualFollow() {
        return mutualFollow;
    }

    public void setMutualFollow(boolean mutualFollow) {
        this.mutualFollow = mutualFollow;
    }

    public static final class Builder {
        private String beFollowedId;
        private String followId;
        private boolean mutualFollow;

        private Builder() {
            beFollowedId = "";
            followId = "";
            mutualFollow = false;
        }

        public Builder beFollowedId(String val) {
            beFollowedId = val;
            return this;
        }

        public Builder followId(String val) {
            followId = val;
            return this;
        }

        public Builder mutualFollow(boolean val) {
            mutualFollow = val;
            return this;
        }

        public EventAddFollow build() {
            return new EventAddFollow(this);
        }
    }
}
